<!DOCTYPE HTML>
<html lang="ja" dir="ltr">
<head>
<meta charset="UTF-8" />
<title>住宅総合館</title>
<%include file="_meta.html" />
<meta name="paneo-field-text" content="formenable:申し込みボタン出す場合はありを入れる,latlng:経緯度"/>
<meta name="paneo-field-img" content=""/>
</head>
<body class="free">

<!-- page header xx start -->
<header class="noprint">
<%include file="_header.html" />
</header>
<!-- page header xx end -->

<div id="headline"></div>

<div id="container">
<div id="contents" class="clearfix">
    <!-- イベント -->
    <a name="event" class="bookmark" title="イベント"></a>
    <% article = AT.GetArticle('event') %>
<section id="event">
    <div class="backcolor">
    <div class="outer">
        <div class="color"></div>
        <div class="cover">
            <img src="/common/img/event_headericon.png" />
        </div>
    </div>
    </div><!-- .backcolor -->

    <div class="header_box">
    <div class="headcover">
        <div class="header">
        <h1><img src="/common/img/index/house_top.png">${article.header}</h1>
        </div>
    </div>
    </div>
<div id="event">
    <% article = AT.GetArticle('event') %>
    <!--
    <% posts = AT.GetPostsByKey('event',str(post.key)) %>
        %for contents in posts:
        <div class="title">
            <b>${contents.GetField('eventdate')}</b>
            <h3>${contents.title}</h3>
            <ul>
                %for c in post.categories:
                <li class="event_${ c.code }">${ c.label }</li>
                %endfor
            <ul>
        </div>
    %endfor
    -->
    <div class="title">
        <b>${post.GetField('eventdate')}</b>
        <h3>${post.title}</h3>
        <ul>
            %for c in post.categories:
            <li class="event_${ c.code }">${ c.label }</li>
            %endfor
        <ul>
    </div>
    <!-- 紹介画像 -->
    <div class="row">
    <div class="half"><img src="" data-paneo-type="img" data-paneo-name="mainpic" title="メイン画像" alt="メイン画像"/></div>
    <div class="half">
    <div class="note"><div data-paneo-type="textarea" data-paneo-name="eventnote" title="イベント説明"></div></div>
	<dl>
        <dt>とき</dt>
        <dd>
        <div data-paneo-type="text" data-paneo-name="eventdate" title="開催日"></div>
        <div data-paneo-type="text" data-paneo-name="eventtime" title="時間"></div></dd>
        <dt>ところ</dt>
        <dd><div data-paneo-type="text" data-paneo-name="tokoro" title="ところ"></div></dd>
        <dt>主催</dt>
        <dd><% posts = AT.GetPostsByKey('builder',str(post.key)) %>
		    %for contents in posts:
		    ${contents.GetField('name')}
		<span> <a href="/article/${contents.slug}.html">会社情報を見る ></a></span>
			%endfor
		</dd>
    </dl>
    </div><!-- half -->
    </div><!-- row -->
    
	    <div class="row">
		<ul class="block-three">
	    <li><img src="" data-paneo-type="img" data-paneo-name="subpic1" title="写真1" /></li>
	    <li><img src="" data-paneo-type="img" data-paneo-name="subpic2" title="写真2" /></li>
	    <li><img src="" data-paneo-type="img" data-paneo-name="subpic3" title="写真3" /></li>
		</ul>
	    </div><!-- row -->

    %if post.GetField('formenable') == u'あり' :
    <div id="event_form">
    <a href="/session_redirect/?URL=/forms/formmail_askevent.html&TARGET=EVENT&EVENT_ID=${post.id}"><img src="/common/img/event_form.png" alt="イベント申込" /></a>
    </div>
    %endif
</div><!-- #event-->
</section><!-- #event -->


    <%include file="sogokan_bigfooter.html"/>

</div><!-- /#contents -->
</div><!-- /#container -->

<!-- page footer -->
<%include file="_footer.html"/>
<%include file="_anchor_navi.html"/>

</body>
</html>



